table of contents
LDATTACH(8) | System Administration | LDATTACH(8) |
NAME¶
ldattach - attach a line discipline to a serial line
SYNOPSIS¶
ldattach [-1278denoVh] [-i iflag] [-s speed] ldisc device
DESCRIPTION¶
The ldattach daemon opens the specified device file (which should refer to a serial device) and attaches the line discipline ldisc to it for processing of the sent and/or received data. It then goes into the background keeping the device open so that the line discipline stays loaded.
The line discipline ldisc may be specified either by name or by number.
In order to detach the line discipline, kill(1) the ldattach process.
With no arguments, ldattach prints usage information.
LINE DISCIPLINES¶
Depending on the kernel release, the following line disciplines are supported:
TTY(0)
SLIP(1)
MOUSE(2)
PPP(3)
STRIP(4); AX25(5); X25(6)
6PACK(7); R3964(9)
IRDA(11)
HDLC(13)
SYNC_PPP(14)
HCI(15)
GIGASET_M101(16)
PPS(18)
GSM0710(21)
OPTIONS¶
-1, --onestopbit
-2, --twostopbits
-7, --sevenbits
-8, --eightbits
-d, --debug
-e, --evenparity
-i, --iflag value...
-n, --noparity
-o, --oddparity
-s, --speed value
-c, --intro-command string
-p, --pause value
-V, --version
-h, --help
AUTHORS¶
Tilman Schmidt <tilman@imap.cc>
SEE ALSO¶
inputattach(1), ttys(4)
REPORTING BUGS¶
For bug reports, use the issue tracker at <https://github.com/karelzak/util-linux/issues>.
AVAILABILITY¶
The ldattach command is part of the util-linux package which can be downloaded from Linux Kernel Archive <https://www.kernel.org/pub/linux/utils/util-linux/>.
2022-02-14 | util-linux 2.37.4 |